package com.anfeng.cms.domain.manager;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴朋
 * @since 2019-07-15
 */
@TableName("af_manager_info")
public class AfManagerInfo extends Model<AfManagerInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 角色id
     */
	private String id;
    /**
     * 员工id
     */
	@TableField("emp_id")
	private String empId;
    /**
     * 员工名
     */
	private String name;
    /**
     * 员工手机号
     */
	private String mobile;
	private String password;
    /**
     * 部门id
     */
	@TableField("dept_id")
	private String deptId;
    /**
     * 部门名
     */
	@TableField("dept_name")
	private String deptName;
    /**
     * 岗位id
     */
	@TableField("post_id")
	private String postId;
    /**
     * 岗位名
     */
	@TableField("post_name")
	private String postName;
    /**
     * 角色id
     */
	@TableField("role_id")
	private String roleId;
    /**
     * 操作人id
     */
	@TableField("operate_id")
	private String operateId;
    /**
     * 操作人名
     */
	@TableField("operate_name")
	private String operateName;
    /**
     * 数据状态（1正常 2 逻辑删除）
     */
	private Integer state;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("modified_time")
	private Date modifiedTime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmpId() {
		return empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getPostId() {
		return postId;
	}

	public void setPostId(String postId) {
		this.postId = postId;
	}

	public String getPostName() {
		return postName;
	}

	public void setPostName(String postName) {
		this.postName = postName;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getOperateId() {
		return operateId;
	}

	public void setOperateId(String operateId) {
		this.operateId = operateId;
	}

	public String getOperateName() {
		return operateName;
	}

	public void setOperateName(String operateName) {
		this.operateName = operateName;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "AfManagerInfo{" +
			"id=" + id +
			", empId=" + empId +
			", name=" + name +
			", mobile=" + mobile +
			", password=" + password +
			", deptId=" + deptId +
			", deptName=" + deptName +
			", postId=" + postId +
			", postName=" + postName +
			", roleId=" + roleId +
			", operateId=" + operateId +
			", operateName=" + operateName +
			", state=" + state +
			", createTime=" + createTime +
			", modifiedTime=" + modifiedTime +
			"}";
	}
}
